#!/usr/bin/env python

from mwe import Mwe

class MweWsgi ( object ):

	def __call__ ( self, environ, start_response ):

		self.mwe = Mwe ( environ, start_response )
		result = self.mwe._handle()
		self.mwe.response._start()
		return self.mwe.response
